package com.huzz.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Name 名称
 * @Description 描述
 * @Author 童年的纸飞机
 * @Since 2023-04-2023/4/27 15:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "系统菜单 Model")
public class MenuModel implements Serializable {

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "组件路径")
    private String path;

    @ApiModelProperty(value = "路由")
    private String router;

    @ApiModelProperty(value = "父级菜单id")
    private Integer  parentId;

    @ApiModelProperty(value = "状态(1开启0关闭)")
    private Integer status;

    @ApiModelProperty(value = "外链(1是0否)")
    private Integer link;

}
